<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><{if $title}><{$title}>,<{$config.company}><{else}><{$config.title}>,<{$config.company}><{/if}>- Powered by ShopBuilder</title>
<meta name="description" content="<{$config.description}>" />
<meta name="keywords" content="<{$config.keyword}>" />
<meta name="author" content="MallBuilder Team and ShopBuilder UI Team" />
<meta name="copyright" content="ShopBuilder" />
<script src="<{$config.weburl}>/script/jquery-1.4.4.min.js" type="text/javascript"></script>
<script src="<{$config.weburl}>/script/base.js" type="text/javascript"></script>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<link href="<{$config.weburl}>/templates/default/page.css" rel="stylesheet" type="text/css" />
</head>
<body class="wide">
<div id="shortcut">
    <div class="w clearfix">
        <ul class="fl">
            <li class="ld">
                <b></b>&nbsp;
                <a href="javascript:addToFavorite('<{$config.weburl}>','<{$config.company}>')">
                收藏首页
                </a>
            </li>
             <li class="ld mob">
                <b></b>
                <a href="wap.php">
                手机版
                </a>
            </li>
        </ul>
		<ul class="fr">
			<li><script src="<{$config.weburl}>/login_statu.php"></script></li>
            <li class="ld"><s></s><a href="<{$config.weburl}>/main.php?m=product&s=admin_buyorder">我的订单</a></li>
		</ul>
	</div>
</div>

<div id="header">
	<div class="w header">
    	<div class="logo">
        	<a class="logoimg" title="<{$config.company}>" href="<{$config.weburl}>"><img src="<{if $config.logo}><{$config.logo}><{else}><{$config.weburl}>/image/logo.png<{/if}>" /></a>
            <{if $domain}>
            <div class="domain">
                <h2><{$domain}></h2>
                <p><a href="<{$config.weburl}>/sub_site.php">[城市分站]</a></p>
            </div>
            <{/if}>
        </div>
        <div class="search">
            <div class="i-search ld">
            <form method="get" class="form" action="<{$config.weburl}>/">
                <input id="m" name="m" type="hidden" value="product" />
                <input id="s" name="s" type="hidden" value="list" />
                <input type="text" autocomplete="off" value="<{$smarty.get.key}>" id="key" name="key" class="text">
                <input type="submit" class="search_button" value="搜索">
			</form>
            </div>
            <div class="hotwords">
                <strong>热门搜索：</strong>
                <{insert name="label" type="searchword" temp="search_word" limit=8}>
            </div>
        </div>
        <div class="mybuy">
        	<dl>
            	<dt class="ld">
                <a href="main.php">我的商城</a>
                <b></b>
                </dt>
                <dd>
                	<div class="list">
                    	<ul class="fl ul1">
                        	<li><a href="main.php?m=product&s=admin_buyorder&status=1">待处理订单</a></li>
                        	<li><a href="main.php?m=product&s=admin_buyorder&status=3">待确认收货</a></li>
                        	<li><a href="main.php?m=product&s=admin_buyorder&status=4">待评价交易</a></li>
                        </ul>
                        <ul class="fl">
                        	<li><a href="main.php?m=product&s=admin_buyorder">我的订单</a></li>
                            <li><a href="main.php?m=tg&s=admin_tg_order">我的团购</a></li>
                        	<li><a href="main.php?m=sns&s=admin_share_product">我的关注</a></li>
                        </ul>
                    </div>
                </dd>
            </dl>
        </div>
        <div class="mybuy mycart">
        	<dl>
            	<dt class="ld">
                <span class="shopping"><span><script src="<{$config.weburl}>/?m=product&s=cart_number"></script></span></span>
                <a href="?m=product&s=shop_cart">我的购物车</a>
                <b></b>
                </dt>
            </dl>
        </div>
    </div>
</div>

<div id="menu">
	<div class="w">
    	<div class="nav">
            <div class="categorys">
                <div class="ld">
                	<h2><a href="javascript:void(0);">全部商品分类</a></h2>
                </div>
                <div class="banner <{if !($smarty.get.m=='product'&&$smarty.get.s=='index')}> hidden<{/if}>">
                <{insert name="label" type="cat" temp="categorys"}>
				</div>
            </div>
            <ul class="navitems">
            <{foreach item=list key=num from=$menus name=nav}>
                <li <{if $list.selected_flag==$current}>class="current"<{/if}>> <a href="<{if $list.link_addr|truncate:4:''=='http'}><{$list.link_addr}><{else}><{$config.weburl}>/<{$list.link_addr}><{/if}>"><{$list.menu_name}></a>
                </li>
            <{/foreach}>
       		 </ul>
        </div>
    </div>
</div>